﻿@model MenuViewModel

<div class="side_menu">
  <h3 class="title">@Model.GroupName</h3>
  <ul class="side_menu_list">
    @foreach (var item in Model.Children)
    {
        <li @($"class={(item.IsCurrentMenu ? "active" : "")}")><a href="/news/@item.Url/@item.Id">@item.Name</a></li>
    }
  </ul>
</div>